package com.ruoyi.yun.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 权限菜单管理对象 yun_user_rightsmenu
 * 
 * @author ruoyi
 * @date 2023-10-24
 */
public class YunUserRightsmenu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 菜单类型 */
    @Excel(name = "菜单类型")
    private String menuType;

    /** 上级菜单 */
    @Excel(name = "上级菜单")
    private String sprMenu;

    /** URL地址 */
    @Excel(name = "URL地址")
    private String url;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 排序值 */
    @Excel(name = "排序值")
    private String sort;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMenuType(String menuType) 
    {
        this.menuType = menuType;
    }

    public String getMenuType() 
    {
        return menuType;
    }
    public void setSprMenu(String sprMenu) 
    {
        this.sprMenu = sprMenu;
    }

    public String getSprMenu() 
    {
        return sprMenu;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setSort(String sort) 
    {
        this.sort = sort;
    }

    public String getSort() 
    {
        return sort;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("menuType", getMenuType())
            .append("sprMenu", getSprMenu())
            .append("url", getUrl())
            .append("code", getCode())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
